public class ClientClass {
    public static void main(String[] args){
        // 原始用法
        Factory factory = new Factory();
        Fruit fruit = factory.CreateFruit("A");
        fruit.eat();

        // 通过外观模式使用
        FruitStore store = new FruitStore();

        // 获取预处理水果
        Fruit preparedApple = store.getPreparedFruit("A");
        preparedApple.eat();

        // 获取组合套餐
        store.getFruitCombo();
    }
}